import { reactive, ref } from "vue";

export default function InitHook() {
  const formDataRef = ref<any>(null);
  const formState = reactive<AdditionalExpense.AddFee>({
    type: 3,
    costName: undefined,
    unitPrice: undefined,
    unit: undefined,
    remark: undefined,
    waybillNum: undefined
  });
  const loading = ref<boolean>(false);
  return {
    formDataRef,
    formState,
    loading
  };
}
